module.exports = {
  transform: {
    // '^.+\\.vue$': 'vue-jest', // vue-jest 处理 .vue
    '^.+\\.js$': 'babel-jest',  // babel-jest 处理 js or jsx
  },
  testMatch: ['**/?(*.)+(spec).[jt]s?(x)'],
  collectCoverage: true,
  coverageReporters: ["json", "html"],
  testEnvironment: 'jsdom'
}
